package io.framework.modules.water.dao;

import io.framework.common.dao.BaseDao;
import io.framework.modules.water.entity.WaterMonitorEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 城镇内河(湖)水环境主要监测结果
 *
 * @author Gujq email
 * @since 1.0.0 2020-05-25
 */
@Mapper
public interface WaterMonitorDao extends BaseDao<WaterMonitorEntity> {

    List<WaterMonitorEntity> getList(Map<String, Object> month);

    Map<String, Object> getCreateDate();

    List<Map<String, Object>> getWaterMonitorPassInfo(Map<String, Object> params);

    List<Map<String, Object>> getWaterMonitorPass(Map<String, Object> params);

    List<Map<String, Object>> getWaterRateInfo(Map<String, Object> params);

    List<Map<String, Object>> getWaterRate(Map<String, Object> params);

    List<Map<String, Object>> getStationName();

    List<Map<String, Object>> getWaterndMonthChange(Map<String, Object> params);

    WaterMonitorEntity getWaterInfoById(Map<String, Object> params);

    int deleteInfoByMonth(@Param("month") String month);

    Integer checkData(@Param("month") String month);
}
